package com.weayer.remote;

import com.weayer.dto.ResponseResult;
import com.weayer.request.DriverGrabRequest;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

/**
 * @description: Api服务 - 司机 - 调用服务 service-order
 * @author: Weayer
 **/
@FeignClient("service-order")
public interface ServiceOrderClient {
    @PostMapping(value = "/order/grab")
    public ResponseResult driverGrab(@RequestBody DriverGrabRequest driverGrabRequest);
}
